package com.weng.platform.draw.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 画板数据
 *
 * @author weng
 * @date 2021-01-15 17:36:11
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("draw_data")
public class DrawData extends BaseEntity<DrawData> {

    private static final long serialVersionUID = 1L;
	
	/**
     * 
     */
	 @TableField(value="id")
	private String id;
	
	/**
     * 
     */
	 @TableField(value="body")
	private byte[] body;

	/**
     * 
     */
	 @TableField(value="name")
	private String name;

		/**
		 * 排序
		 */
		@TableField(value="sort_no")
		private Double sortNo;

	/**
     * 
     */
	 @TableField(value="owner_id")
	private String ownerId;

		/**
		 *
		 */
		@TableField(value="owner_name")
		private String ownerName;

		/**
		 * 信息栏目id
		 */
		@TableField(value="column_id")
		private String columnId;

		/**
		 * 信息栏目名称-冗余
		 */
		@TableField(value="column_name")
		private String columnName;

		/**
     * 
     */
	 @TableField(value="relate_code")
	private String relateCode;

		/**
		 *
		 */
		@TableField(value="attachment")
		private String attachment;

		/**
		 *
		 */
		@TableField(value="attribute")
		private String attribute;

		/**
		 *
		 */
		@TableField(value="is_del")
		private Integer isDel;

		/**
		 *
		 */
		@TableField(value="create_time",fill = FieldFill.INSERT)
		private Date createTime;

		/**
		 *
		 */
		@TableField(value="update_time",fill = FieldFill.INSERT_UPDATE)
		private Date updateTime;

}
